﻿Public Class PaisesForm

#Region "Windows Form Events"
    Private Sub UIBaseAdmin_Load(sender As System.Object, e As System.ComponentModel.CancelEventArgs) Handles MyBase.FormClosing
        If GuardarButton.Enabled Then
            If MessageBox.Show("Todos los cambios no guardados se perderan, ¿esta seguro de que desea cerrar el formulario?", "Cerrar Formulario", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.No Then
                e.Cancel = True
            End If
        End If
    End Sub
#End Region
End Class
